package com.burns.rbac.commons.exception;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
 * 业务异常类，继承RuntimeException,抛出时，方法不需要显式处理
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BusinessException extends RuntimeException {
    private String code;
    private String msg;
}
